package com.woniu.adopt.vo;

import com.woniu.adopt.entity.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data

@ApiModel(description = "后台用户Vo类")
public class ManagerVo implements Serializable {
    @ApiModelProperty(name = "id", value = "管理员id")
    private Integer id;
    @ApiModelProperty(name = "username", value = "账号")
    private String username;
    @ApiModelProperty(name = "password", value = "密码")
    private String password;
    @ApiModelProperty(name = "name", value = "昵称")
    private String name;
    @ApiModelProperty(name = "telephone", value = "电话号码")
    private String telephone;
    @ApiModelProperty(name = "email", value = "电子邮箱")
    private String email;
    @ApiModelProperty(name = "gender", value = "性别")
    private Integer gender;
    @ApiModelProperty(name = "locked", value = "锁定")
    private Integer locked;
    @ApiModelProperty(name = "insertTime", value = "添加时间")
    private Date insertTime;
    @ApiModelProperty(name = "updateTime", value = "修改时间")
    private Date updateTime;
    @ApiModelProperty(name = "del", value = "删除")
    private Integer del;
    @ApiModelProperty(name = "rolIds", value = "角色ID")
    private int[] roleIds;
    @ApiModelProperty(name = "roles", value = "角色列表")
    private List<Role> roles ;
}
